package com.ideaaedi.log4j2.defender.properties;

import com.ideaaedi.log4j2.defender.defender.Log4j2MessageDefender;

/**
 * 自定义脱敏器bean, 脱敏配置项
 *
 * @author JustryDeng
 * @since 2021/7/21 1:15:15
 */
public class CustomProperties {
    
    /**
     * 指定自定义的脱敏器
     */
    private Log4j2MessageDefender bean;
    
    public Log4j2MessageDefender getBean() {
        return bean;
    }
    
    public void setBean(Log4j2MessageDefender bean) {
        this.bean = bean;
    }
    
    @Override
    public String toString() {
        return "CustomProperties{" +
                "defender=" + bean +
                '}';
    }
}